﻿
using IotContract.Dtos.Servers.Process;
using IotContract.Dtos.Servers.Pushs;
using QjServerProcess.Interfaces;
using System;
using System.Collections.Concurrent;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace QjServerProcess.Services;
public class ProcessDataService:IProcessDataService
{
    /// <summary>
    /// 扫码枪数据
    /// </summary>
    public ConcurrentDictionary<int, List<PushBcrDto>> Bcrs { get; set; } = new ConcurrentDictionary<int, List<PushBcrDto>>();

    /// <summary>
    /// 物流线数据
    /// </summary>
    public ConcurrentDictionary<int, ZdCvUnitDto> CvUnitTags { get; set; } = new ConcurrentDictionary<int, ZdCvUnitDto>();

    /// <summary>
    /// 堆垛机数据
    /// </summary>
    public ConcurrentDictionary<int, ZdScUnitDto> ScUnits { get; set; } = new ConcurrentDictionary<int, ZdScUnitDto>();
}
